package com.code.train.service;

import com.code.train.req.MemberTicketReq;
import com.code.train.req.TicketQueryReq;
import com.code.train.resp.PageResp;
import com.code.train.resp.TicketQueryResp;

/**
 * TrainService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/21 23:57
 */
public interface TicketService {
    void save(MemberTicketReq req)throws Exception;

    PageResp<TicketQueryResp> queryList(TicketQueryReq req);

    void delete(Long id);
}